package com.ddtech.framework.system.model.vo;

import com.ddtech.models.BaseTreeBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author bin
 */
@Data
public class SysSpecialtyTreeVo extends BaseTreeBean {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "专业名称")
    private String label;

    @ApiModelProperty(value = "专业父id")
    private String pid;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @Override
    public String getIdValue() {
        return this.getId();
    }

    @Override
    public String getPidValue() {
        return this.getPid();
    }
}
